import request from "@/utils/request";

//报关公司-列表
export const declareCompanyList = (data) =>
  request({
    url: `/out/declare-company/index`,
    method: "post",
    data,
  });
//报关公司-新增
export const declareCompanyAdd = (data) =>
  request({
    url: `/out/declare-company/create`,
    method: "post",
    data,
  });

//报关公司-修改
export const declareCompanyUpdate = (data) =>
  request({
    url: `/out/declare-company/update`,
    method: "post",
    data,
  });

//报关公司-删除
export const declareCompanyDelete = (data) =>
  request({
    url: `/out/declare-company/delete`,
    method: "post",
    data,
  });

//报关公司-状态
export const declareCompanyStatus = (data) =>
  request({
    url: `/out/declare-company/status`,
    method: "post",
    data,
  });

//报关公司-日志
export const declareCompanyLog = (params) =>
  request({
    url: `/oplog/out.declare-company`,
    method: "get",
    params,
  });

//报关公司-详情
export const declareCompanyDetail = (params) =>
  request({
    url: `/out/declare-company/detail`,
    method: "get",
    params,
  });
